package com.atguigu07.encapsulation.exer3;

/**
 * ClassName: Employee
 * Package: com.atguigu07.encapsulation.exer3
 * Description:
 *
 * @Author xiao_qi
 * @Create 2024/5/7 22:04
 * @Version 1.0
 */
public class Employee {
    private String name;
    private String gender;
    private int age;
    private String number;

    public int getAge() {
        return age;
    }

    public String getGender() {
        return gender;
    }

    public String getName() {
        return name;
    }

    public String getNumber() {
        return number;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getinfo(){
        return getName()+"\t"+getGender()+"\t"+getAge()+"\t"+getNumber();
    }
}
